package com.beiing.tianshuai.tianshuai.entity;

import com.google.gson.annotations.SerializedName;

import java.util.List;

/**
 * Created by Jinni on 2017/7/31 0031.
 */

public class PersonalAttentionBean {

    /**
     * code : 200
     * data : {"form":[{"name":"程国伟Gavin","email":null,"unit":"社会大学","from_uid":"320","to_uid":"290","id":"423","photo":"59584f999a7d7.png"},{"name":"汪建波","email":null,"unit":"首都师范大学","from_uid":"320","to_uid":"289","id":"422","photo":"59624152c99c5.png"},{"name":"赵正海","email":null,"unit":"北京理工大学","from_uid":"320","to_uid":"261","id":"421","photo":"59624130d3d98.png"},{"name":"张琼霞","email":null,"unit":"北京信息科技大学","from_uid":"320","to_uid":"293","id":"420","photo":"5962411de1d1c.png"},{"name":null,"email":null,"unit":null,"from_uid":"320","to_uid":"116","id":"416","photo":null},{"name":"小率1","email":"461438533@qq.com","unit":"北京天率科技","from_uid":"320","to_uid":"320","id":"137","photo":"59794d4661fc6.png"}],"to":[{"name":"牟奇琴","email":null,"unit":"西华师范大学","from_uid":"264","to_uid":"320","id":"409","photo":"59624156b2def.png"},{"name":"huan","email":null,"unit":"Huang did","from_uid":"249","to_uid":"320","id":"340","photo":"5958541632da0.png"},{"name":"张永强","email":null,"unit":"中国矿业大学（北京）","from_uid":"260","to_uid":"320","id":"251","photo":"5961870b32fa6.png"},{"name":"小率1","email":"461438533@qq.com","unit":"北京天率科技","from_uid":"320","to_uid":"320","id":"137","photo":"59794d4661fc6.png"},{"name":"黄小林","email":null,"unit":"重庆电子科技产业园项目管理","from_uid":"255","to_uid":"320","id":"131","photo":"59632a7d7321a.png"}]}
     */

    @SerializedName("code")
    private int code;
    @SerializedName("data")
    private DataBean data;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean {
        @SerializedName("form")
        private List<FormBean> form;
        @SerializedName("to")
        private List<FormBean> to;

        public List<FormBean> getForm() {
            return form;
        }

        public void setForm(List<FormBean> form) {
            this.form = form;
        }

        public List<FormBean> getTo() {
            return to;
        }

        public void setTo(List<FormBean> to) {
            this.to = to;
        }

        public static class FormBean {
            /**
             * name : 程国伟Gavin
             * email : null
             * unit : 社会大学
             * from_uid : 320
             * to_uid : 290
             * id : 423
             * photo : 59584f999a7d7.png
             */

            @SerializedName("name")
            private String name;
            @SerializedName("email")
            private String email;
            @SerializedName("unit")
            private String unit;
            @SerializedName("from_uid")
            private String fromUid;
            @SerializedName("to_uid")
            private String toUid;
            @SerializedName("id")
            private String id;
            @SerializedName("photo")
            private String photo;

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }

            public String getEmail() {
                return email;
            }

            public void setEmail(String email) {
                this.email = email;
            }

            public String getUnit() {
                return unit;
            }

            public void setUnit(String unit) {
                this.unit = unit;
            }

            public String getFromUid() {
                return fromUid;
            }

            public void setFromUid(String fromUid) {
                this.fromUid = fromUid;
            }

            public String getToUid() {
                return toUid;
            }

            public void setToUid(String toUid) {
                this.toUid = toUid;
            }

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public String getPhoto() {
                return photo;
            }

            public void setPhoto(String photo) {
                this.photo = photo;
            }
        }
    }
}
